Skip to content

Escape content and attribute strings.#11

Open
thvitt wants to merge 1 commit intotvst:masterfrom
thvitt:escaping
Open

Escape content and attribute strings.#11
thvitt wants to merge 1 commit intotvst:masterfrom
thvitt:escaping

Conversation

@thvitt
Copy link

@thvitt thvitt commented Oct 7, 2025

The implementation uses Python's built-in escaping to escape characters
in text content. For attributes, it will also escape quotes if there is
no way to express the attribute without escaping by sensibly choosing
the outer quotes.

Fixes #5

The implementation uses Python's built-in escaping to escape characters
in text content. For attributes, it will also escape quotes if there is
no way to express the attribute without escaping by sensibly choosing
the outer quotes.

Fixes tvst#5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Escaping

1 participant